import instance from '@/utils/request';


//获取入库信息列表
export function StoreList(data) {
    return instance.request({
        url: "api/Stock/GetStockList",
        method: "post",
        data
    })
}


//获取采购信息列表
export function ProcureList(data) {
    return instance.request({
        url: "api/Stock/GetProcureManagementList",
        method: "post",
        data
    })
}

//添加入库信息列表
export function AddStore(data) {
    return instance.request({
        url: "api/Stock/PostStockAdd",
        method: "post",
        data
    })
}



//显示入库信息详细
export function ShowInWord(data) {
    return instance.request({
        url: "api/Stock/GetInWarehouseList",
        method: "post",
        data
    })
}


//显示产品信息详细
export function ProductListShow(data) {
    return instance.request({
        url: "api/Stock/GetProductDtojwz",
        method: "post",
        data
    })
}


//反填入库信息
export function InWareBackFill(data) {
    return instance.request({
        url: "api/Stock/GetBackFill",
        method: "post",
        data
    })
}


//反填入库详细信息
export function BackFill(data) {
    return instance.request({
        url: "api/Stock/GetinWareDetailListBackfill",
        method: "post",
        data
    })
}

//修改入库详细信息
export function InWareUpdate(data) {
    return instance.request({
        url: "api/Stock/PostInWareUpdate",
        method: "post",
        data
    })
}


//修改入库详细信息
export function InWareDelete(data) {
    return instance.request({
        url: "api/Stock/DeletInWare",
        method: "post",
        data
    })
}

//获取仓库信息
export function InWareDeleteList() {
    return instance.request({
        url: "api/Stock/DeleteBatches",
        method: "post",
    })
}

//修改仓库审核信息
export function InWareUpdateCheck(data) {
    return instance.request({
        url: "api/Stock/GetInWarehouselistState",
        method: "post",
        data
    })
}